package com.itheima.reggie.service;

import com.itheima.reggie.common.ResultInfo;
import com.itheima.reggie.domain.Employee;

import java.util.List;

public interface EmployeeService {
     //员工登录
    ResultInfo login(String username, String password);
    //员工查询
    ResultInfo finedBynaame(String name);
    //新增员工
    void save(Employee employee);
    //查询回显
    ResultInfo findByid(Long id);
    //修改员工
    ResultInfo updateByID(Employee employee);
}
